Move Kraken.php to the lib dir