Liouville Theory, Accessory Parameters and 2+1 Dimensional Gravity