Simple NoSQL database using objects and functions