decoupling notification handling with controller
extract local store out of controller
Merge pull request #1 from aerogear/review

initial review