Place config parsing inside an Application class

That'll clean-up the executable a bit