Added Main class.
added .gitignore and appended /target to it