generated crud for rest of the entities, corrected some routes