Use object to run server