added genre class for API endpoint, refactored get calls slightly, need to add/change tests