check in of core, includes some tests