Added initial CRUD functions to all db tables