Moved generic register classes to their own package
Moved a couple files around and introduced a nifty util class