More...
Finally completed restructuring of the code as required.
now i can concetrate on making face recog work