Initial client API and database schema