Convert '/opt' to an attribute 'root_dir'

Addresses issue #191 by converting a few hard coded paths to attributes.  Modularized a few attribute definitions to simplify the process for directing installs to alternate locations.

No functionality changes.