added fields collectedfrom and dateofacceptance to the instance type
codebase used to migrate to java8 the production system