Modified API. Pulled out all UI elements. Changed metadata endpoints to /metadata. All tests passing.