Moved server to its own module.