refactoring... moving project functions to manager