Added generating errors stubs, business process view. Exported status counts to view.