added factories for projects to fix build and added projects end point