Initial commit, some utility functions implemented and basic script structure outlined.