Moved out chat sample and added it back as a submodule