Moved player server and http server out of main module.