DB integration and JSON app fix?