extracted first 'plugin' current-day tab selector
added one external dependency (because I need something to dispatch events)
introducing the plugin factory
extracted star plugin (at least partially)