add: header template file
oops: assert in logger_write
add: random module