Updated Scripts and Architecture

Worked on Run and Compile scripts as well as updated architecture.