Implemented Tick.java as a static class.