classes that contain functions called from routes