added active_model_serializers gem, added api routes