change to maven project
add junit test cases