Refactored the pajama.php file into Composer-autoloadable class files.