Added view script and updated module to return a configuration array