Set up routes according to specified API
Implemented basic response according to specified API