Split files and added few more changes. Waiting on xmpp package to work. next(c.p) waits forever to get the success message which had already appeared