def get_version():
    version = {}
    with open("bqueryd/version.py") as fp:
        exec (fp.read(), version)
    return version
def connect ():
    '''
    Create the connection to the MongoDB and create 3 collections needed
    '''
    try:
        # Create the connection to the local host 
        conn = pymongo.MongoClient()
        print 'MongoDB Connection Successful'
    except pymongo.errors.ConnectionFailure, err:
        print 'MongoDB Connection Unsuccessful'
        return False