- added documentation to the shared preferences class