log errors to file
new payload
restructured file structure