Clean up and formatted source code. Refactored getRandomKanas (using PDO).