Classes endpoint is working correctly. Class factory is not finished though.