add .gitignore
add test resources
change package structure
code style formatting