structured basic gui for creating and playing melodies