Refactored src/Application.{cpp,hpp}