add build directories in gitignore
create some helper classes for jar creation