implementing midi module
refactoring around Track
implementing midi module
implementing midi module
implementing midi module
updated test script for midi module