app factory fixing removing project name appends
code refactoring