Okay lxml and mako templates are working the api is somewhat encapsulated and URI driven but has some weird hairy spots I need to work on.