Add the Model library
merging with upstream master and origin temp0
fix typo in cmakelists
fixed pointers which were using 0 instead of NULL and syntax in resource.h
fix end line typo
adding scribe tool