Make name consistent with class
Fix getPackage, add tests, refactor

Also, split out LocalClass from LocalInstance
Fix and sidestep modifying heap keys
Use method definition as source of truth for # reg
Add VM to emulated methods, fix Class.getMethod