implement basic API and landing page