Simulates the functionality of a train depot.