new GetTicks() for getting ticks from the database