Minimal startup structure for K2 app. Some bits and pieces are missing
and will be committed soon.