changed Main to TestMain. added MainApplicationShell and model