added test script
implementing midi module
implementing midi module