Rails itself will do code auto-loading, but Ruby is not so forgiving. 

If you were to open lib/collection.rb by itself, it wouldn't work.. but the entry point (movie_json.rb) has:

```ruby
require_relative "lib/movie"
require_relative "lib/api"
require_relative "lib/collection"
```

so, it's available thereafter in the global space for use.