Implemented parts to get the system_update plugin running again. Can be used as example for other plug-ins.
Also some improved logging.