getting some apis working and the DB up