Made a module out of the core/ctk code