Start of app framework