Finished the plugin strucutre. Plugins are scripts, that are sourced into the main script.