support maven build
Source code compatible with JAVA 1.5