inject symfony request into legacy Page
fix namespaces; move code around