What is foundation plan and detailed plan.?