initial version of core

Title says it all...