to middleware

connection cellar in middlewere, remove framevorks specific controllers