Simplified barebones main.cpp