add new case processing function based off actions and rebuilding

most tests are passing but a handful still failing
stricter test
fix rebuild to properly deal with misplaced or missing creates