Refactored the database connection to use backbone couchdb and other tweeks to run on Android and Online