Reordered requires to eliminate 'uninitialized' errors

Rails was complaining about VERSION being uninitialized, so have re-ordered the requires to ensure it's required first.