Improved debugger and removed DB reference from front controller