Start of database and APIs