added the factory and modals for new projects and tasks