First pass implementation integrating static/code
No debugging yet done