added middleware, context_processors, analytics...kinda