Hello, so I am a bit confused as to where I should be putting these files. I am basically creating a Tournament Module outside of the basic models I have created a few classes extending a TournamentFactory class. Right now I have these files in components folder but I am not sure if this is the correct way of doing things within yii. Basically my file structure looks like this.
/components
–Bracket.php
–TournamentFactory.php
–SingleElimination.php
–DoubleElimination.php
–RoundRobin.php
–Swiss.php
/Controllers
–EventController.php
–MatchController.php
–PlayerController.php
…
/Models
–Events
–Matches
–Players
…