Added basic CRUD logic and views