Changes for 1.4.7 compatibility and add Maven support

- added a pom.xml for maven compil
- compiled jar on 'target' folder