Implemented Settings and restoring from settings, started with better command line args