Started writing SPA class heriting from machine
Changed the structure in config to switch()
Added isModeConfigured to SPA
Corrected switch syntax
Corrected switch syntax
Changed the place where you give in the file name
implemented displaying params
cosmetic changes