Add initial support for ticketing

Got review from Phil - Pulling in code.