Forms page layout done with one form entered

This included doing a lot of restructuring for better flexibility and
maintainability. Hence the hefty amount of files affected.