Bug fix: #12

* Removed all global boxed objects, added them to RState, initialized during r_state_new.

* Added several helper macro to access fields of different number objects.