Source code for the plugin

First commit, added source code for the plugin!