added .gitignore to remove idead IntelliJ and auto-generated resources from git.
added constants for ease of use.