Sample code for creating a chat app with Dartlang(Dart)