Base class and gitignore

Basic mod class with anotations and event handlers.
Gitignore to build and project folders (user option).