Add database class, update serverlist protocol