Add maven support for library project
Fix gitignore