Refactor App Bootstrap Code to a dedicated App class