SMS: Photochemistry of planetary atmospheres