fixed deploy for dnet45
integrated changes from 'refactoring' branch
migrated to dnet45
codebase used to migrate to java8 the production system