added simple app framework