core: move activate flag to right pos

Signed-off-by: Hagen Paul Pfeifer <hagen@jauu.net>
core: register loader/unloader

Signed-off-by: Hagen Paul Pfeifer <hagen@jauu.net>