Bug fix and updates

I fixed the download and install for bedtools and refactored some of the
methods.