processor/jni work

basic processor functionality