change to bed path
new version with better mvc
cleaned and modified as per sues changes for bedfiles
new handling of bedfiles
new handling of bedfiles