Updated lots of files to support list and map view. Also, accessed
database!