Adding API for alarms, updating gitignore for virtualenv/PyCharm.