Add CRUD functionality to collaborations and refactor views