changes made for application creation fixed some path issues and cleanup legacy code