moving server to ruby/server