Add support get/put-field/static and a lot of bug fixes