Merged and deleted duplicated files, added bdf-cli.rb file, fixed some other files.