Updating script to use a class-based system and update CI config.