Added beginning of plugin system

Not yet functional. Still need to write the class-loading aspect of it.