Updated loader. fixed missing dependencies and moved all requires from server.rb.