added buttons for changing the number of beats
cleaned up file structure