Adding database connections and arena saving