Implemented DAO layer with basic CRUD functionality