rm cruft; wire up api endpoints needed for external application integration