made appliance a class, added setters and getters, ramped up error checking, still need to fix errors on stoi and atoi