changed read/write to get/set to reflect KC API, also made the database a container allowing for DB[key] syle usage