* move to Maven
* fixed some bugs