Move resource requires into resource.rb