Simple and lightweight object persistence framework