No building shall be erected or altered, nor shall any excavation be commenced in connection with or preparation for such erection or alteration, until the Building Inspector and/or the Village Board shall issue a permit certifying that the proposed building or proposed altered building and the use complies in every respect with this chapter. All applications for such permits shall be in writing and accompanied by a plot plan, in triplicate, drawn to a scale showing the actual dimensions of the lot to be built upon, the size of the building to be erected, the location of the building upon the lot, the dimensions of all open spaces, the setback lines observed by buildings within the block and such other information as may be necessary to provide for the enforcement of this chapter. At the time each such application is filed, the applicant shall pay to the Village Clerk, for the use of said Village, 1/2 of 1% of the estimated cost of such erection or alteration, as estimated by the Building Inspector, which sum shall not, however, exceed $5 in any event, such sum to be retained by said Village whether or not the permit shall issue.