- support Python3.x
- remove not used DEFINE
- fix definition of module init function