- reformat code (spaces -> tabs)
- change defineClass api
- clean