move bag and ticket class to other files