Make code more generic as to work with other mods on Steampipe

Add additional documentation.