My first attempt at creating a simple NoSQL database