piggy: moving stuff around
piggy: added self registration for components.