More fixes and tweaks

also simplified sendNotification
Clean up rights
Add a dummyprovider

Used as "interface definition"