added bootstrap & map reduce/aggregate db functions