Create bmloader.js

Main Loader