Separate out connections and database details