Using Ratchet framework to create a mobiel application