Little cleaning + new features (phar)

cf #21