Converted to use a separate 'CLI' and 'Webpage' wrapper to initialize.