added and abstract crud controller, should speed things up a little