Clock Tower (quest)

Brother Kojo has a problem. His clock tower is broken. There are 4 cogs in 4 rooms in the basement that go on a pole on each of the 4 levels of the tower.

He warns there are dangerous things in the basement.