Basic app framework.