check in of core, includes some tests
Merge pull request #1 from dbones/master

inital version of core