dbinterface

added all functions to grab arrays for charts, exception will be
longitude and latitude since it included extra variable in array. that
part is commented out now.