some initial refactor work
more refactor into plugin structure
Merge branch 'notifications-v1' of github.com:jms-dipadua/nomicly into notifications-v1