Changed handlers to set content type to text/plain. Corrected reference to TableGateway package in Model class.