Restructed app with basic framework.