added maven pom and gitignore file
added test