Updated sub-plugins

Reworked link system DB; built referenda extension