Reintroduce nested library file structure

To have a nested folder structure, rails requires the library file names be nested, and their class names also. That is, lib/class/child.rb must be called Class::Child.

This commit reintroduces this, and changes all dynamic requirements to the old format, leveraging 'constantize'.