Improve class loading and implement basic heap and call stack.

Add heap and call stack.
Fix instructions to use operand stack on current frame.
Add loading of dependencies for class references.