updated getDBInfo

getDBInfo now checks if the dataframe is available on local disk.  If
they are not it will check if the XML files are available locally.  It
will then download the XML files and convert to data frame.

Also changed the structure of getDBInfo to make it more readable.