Fleshed out first implementation of Main. Added a run script.