update readme
reformat code
add table options