SQL setup, start of JSON handling
added missing files