Refactor Ticks class