Added some gitignore stuff
midrated some code to M2