How to Build a Ticket Management System