Server with database and hash map