Corecore

A mostly aesthetic refactoring

core.py was split into core/goals/facts.py

doctests were finally tested and fixed