seperated out routes and templates
split dispatch, foundation and handler off

In the process, noted that one still must do a bunch of
language pragmas that were omitted from the tutorial being
followed.
finished home handler split; added gallery list support