Started work on plugin system
More plugin work