Wrote chat server and integrated database.