Adding more wrappers and working on main loop. trying to get a small program working with new code.