Created basis for plugin.

Needs testing to make sure it works properly and as intended.