wip remove unused import
remove comments
wip throw out some back end stuff in core.prim