Added starting functions
Added register function and shutdown/unload function