transpose - (Danny) - integrated spring mvc better (still very messy,
but will clean up later)