Checking in the "core"

Initial check in of the core