Probably best to rename the file from globals.rb to server.rb
Or create server.rb and copy the handle_* functions there.