Initial commit of source tree.
Updated model core classes