Added .gitignore to resource folders in order to have it tracked by Git
Javadoccing and small changes