A series of code following LearnYouNode tutorial