moved everything except from examples into the core package