refactoring architecture and migrating to windows forms project