Created basis of plugin. Numerous errors still present