Added util.inherit(...).from(...) for a nicer fluent syntax
Fixed linting issues
Refactored Register class to be cleaner now that it has unit tests