Implemented autosetup, platform detection to extend main Dialog module with submodule of implementation.

Signed-off-by: Chris Riddoch <riddochc@gmail.com>