initial commit from https://code.google.com/p/notifry/