Cleanup and upgrade

Added a configuration form with support for admin metadata, added
history log meta-info (if installed).