split into multiple file
clean up agent
clean up other files
impl. io.writeto
draw map
export result
add progress bar
binary
binary