redid switchboard app to use smarty / klein, and more object oriented