added ministries model and joosy framework for SPA-driven behavior