139 refactor core

Refactored the baseobject and all examples so we can now use registered methods instead of having to call them ourselves. The components register to the needed update functions themselves and you can overwrite them if you want to add custom logic.