Add entry point to tao-core

Debug on error