Fix .gitignore
Support to compile via maven