added code docs
Merge branch 'master' of github.com:mpneuried/mpbaisc