Started work on core loader.

Also created PluginInfo class.