Merge pull request #2 from ngodfraind/master

Configurable entity manager + usable in command line.
Notification works with anon.