First Version of Morse
Encapsulate the logic into Class