connections: Prime decomposition using tools