added database, added websockets, oh my