Added default config file for plugin settings.
General code review, optimizations and improvements.