s/svg/sgv/g - serum glucose value typo
introduce sgvdata, use it in api and storage

Clean up and comment a bunch of code.