Added functions for downloading and updating.

Newly downloaded plugins will no longer require a restart to use.
Basic functionality is now present.