Adding CRUD to beans