First implementation if the API endpoints and test page