added a method to track metrics
added .gitignore