added gcm and thread_id to parser
created database logging
generated migrations