Continued with Code behind

*FULL OF ERRORS*
Do not try to run this commit - not finished with the reading of the
file function or the Category set up model