python: add docstrings to import/export tools
add retro implementation of block_import
add a block_export tool in retro
reset the block counter
add separate LICENSE file; add copyright line to source files
initial checkin