Flushed out the buy class leaving only orders to be implemented to finish the framework of the plugin.