Remove console.logs
Make parse method
Make readData accept a command in json format