Adding database conversion tools for caffe