Changed how stats are saved
filemanager module, with writetable and readtable
TODO: make writetable and readtable support booleans and tables
filemanager now supports writing and reading booleans