clean up and doc'in

code formatting and adding todos
doc'ing with readme aswell