creating the core: a wrapper acting as a daemon