Added Serializing of entities and sending through

intent