added store to handle json requests and lots more