removed composer, using just a phar. added some more error handling