fixed issue #2, added geting and saving hardware information, minor changes for #3 issue