CRUD functionality for goals