Added symbol resolution for Java
Removed debugging halts
Added missing stubs
Refactored and comented a lot