Add Maven infra and Mojo. Modify to jackson 2. Add some test case