Added more fields to yaml, now log data to a file