basic structure in place. Needs fixing and templates (and content negotation for the server)