finished core node api, updated some of the tests.
finished core node api, updated some of the tests.