Start of plugin. Structure of the Singleton.