Organized the directories and started to build the model functions.