creating app framework