Initial set-up of Main.m

Setting up some basic framework for the project, similar to how the C++
code was set up.