Initial badly implemented repository with corresponding API endpoints.