Started working on moving TopicManager to it's own package.
Moved topic handling to its own package and made message types definable at runtime.