Small changes in main

Added sequencer connection, changed variable names for better
understanding.