Fixed command

I was registering unit styles with the name "null." how silly of me.
refactoring

changed the packages to better fit the mvc design