Improving memory managment

- class macro set finalizer for class pointer
- field getter calls prepare-local-jobject to set finalizer and tag the
  pointer