Create and view database