Form config

First pass at reorganizing the routes to be more generic.