Working setup. Structured and removed ministry.js