Initial source files

Copied the original source files from marcosps chat sample