Fixed many require to require_relative, changed spec to use require_relative