initial app setup and basic model construction