Added PluginManager, message formatting and main class