Replace gobals in server with db
Remove server reload method