modernize; add block size option (yet unused)
add gitignore