Fixed undefined event on err
Updated .gitignore
Versioning by semver