a common frame for generating new application