Improved documentations of store.cpp

Added doxygen
Corrected spelling
Corrected formatting
Added comments to steps for future revisions

More to come in fewer commits, just testing my setup.