enhanced FrameWork

This Framework omits the use of global variables