Break the monster run_frame into some smaller components.
Merge pull request #11 from akaptur/refactor-run-frame

Break run_frame into some smaller components.
docstrings