fix file encoding + indenting issues
update docs