Initial commit of API endpoints implemented.