A simple way to improve your students' understanding of melody is simply to sing patterns on solfa and have them echo. Then, you could have them sing back from a recorder or xylophone–you play the pattern, and they have to decode and figure out what the pattern is.