creating a crud system for your database setup