modifications to  prepare_staging_dir logic
clean unused prepare_staging_dir logic
added install props def to views + logic to write it out