integrated latest changes from dnet40
migrated to dnet45
codebase used to migrate to java8 the production system