Extract tool info into new class, self-update command works now only for phar version