Implemented basic http routing and API actions