Added ability to resolve Java system classes.
Add automatic class creation and other various changes.