made the command processing more efficient
added necessary classes for using timed queues similar to wheatley's games