added separate debug front controller
tutorial until beginning of part5