aidc using foundation framework