adding in basic skeleton for main script and also started adding in units.js