Added versioning to Ticket Model. Very ugly, barely works. Needs a lot of work.