Killed two bugs

more left
Fix several bugs

Added support of toString and <init>
Added support of substring()