some rubocop cleanup
added hooks to share monitored activities