documentation for kd app compile