Initial commit

Initial commit for main script.