Added the batch script for bd function
Added java helper function to get the directory based on the search string
Added readme