added foreign methods, zero arg constructors, foreign values, a few prim ops, and a bunch of tests.