finished CRUD ng actions and API for projects, refactored