Implement context processor decorator

just like route, it should take the name as an argument and use that instead.