Refactor: Extract installation status to class