cleaned up and generalized the site templating and setup, now uses thin and can use web sockets