Started work on chat database and api