Minor code refactoring
Event Dispatcher mechanism added
Implement event dispatching. Add config module for application config.
Move paths to config file, minor refactoring