added midi import to main module