Initialize app framework.