A first attempt at a webapp framework