Changed program executable name to arApp and rewrote main.cpp to increase readability