Initial working version with small set of API endpoints