data storage

created two classes one saves the state and the other loads it, i'm
having a bit of a problem with github so im not really sure if im adding
it the right way specially since im using a library that i added on so
not sure how github is gonna deal with it