Finished creating model and controller