This includes the costs of materials and also clearly you need to plan the time. As for the building permit, you will receive it after you purchase a site.