A New Architecture for Functional Grammar