readme tweak, updated git ignore, add ptypes, add APM2 related files, sane code formatting
add readme