Tinkered with db's and JSON stuff