Describe how the weimar republic was governed?