Added Middle Layer and Submit model
Added Middle Layer and Submit model