The mayer shall be the chief executive officer of the town, or in his absence or disability, the mayor pro—tem shall be such officer. The mayor pro-—tem shall be alected by tha councilmen from their number at their first meeting after their election and qualification. It shall be the duty of the mayor, or in his absence, the mayor pro-tem, to enforce and execute the ordinances of the town. Such chief executive officer is under the special duty to see that the peace and good order of the town is preserved and that the pergons and property therein are protected, and to this end he may cause the arrest and detention of all rioters and disorderly persons in said town, or pergons who are violating the ordinance of said town. He shall have power to issue and execute and have attested by the clerk of said town executions for all fines, penalties, costs, taxes, utility charges for services afforded by the town, and to issue warrants for the arrest and detention of persons violating the ordinance of the town. Any person so accused shall have a right to appoint an expeditious hearing for the charges against him, which hearing shall be held before the mayor, and upon his absence or disability the mayor pro-tem, unless and until a recorder's court is established in said town. Upon conviction, such accused person may be sentenced to imprisonment not exceeding thirty (30) days and to cause such prisoner to work on the public streets and ways or the public works of the town, or in lieu thereof impose a fine not exceeding one hundred dollars ($100.00).