Back-end for Quantified-Self application