initial work on database CRUD operations