added comments dynamic include
added Foundation support