Moving main.c out of app as its platform specific