brake flag fix and req 5, req 6, req 7, req8
sync req 1
Merge branch 'master' of https://github.com/hansbogert/in4387