making config ob match existing style (App -> app) && removing duplicate middleware + server inits