fix algo_types -> module_types rename
style
document hashes