I tried to add basics

I tried to add basics of this BGM2MIDI......but I dunno at all the
jscript .net........~.~ Sorry for the errors