[ADDED] Class which holds the communication between app and server