The Mayor shall be the chief executive officer of the Town, and shall take care that the orders, by-laws, ordinances, acts and resolutions of the Council thereof, are faithfully executed. He shall be ex-officio a justice and conservator of the peace within the Town, and shall within the same, have power and exercise all the powers and perform all the duties vested by law in a justice of the peace, except that he shall have no jurisdiction in civil cases of causes of action arising out of the corporate limits of the Town. He shall have the same power to issue attachments in civil suits as a Justice of Putnam County has, though the cause of action arose out of the Town, but in such case he shall have no power to try the same, but said attachment shall be returnable and be heard before some Justice of Putnam County. Any warrant or other process, issued by him may be executed at any place within the County. He shall have control of the police of the Town, and may appoint special police officers whenever he deems it necessary; and it shall be his duty especially to see that the peace and good order of the Town are preserved, and that persons and property therein are protected, and to this end he may cause the arrest and detention of all riotous and disorderly persons in the Town before issuing his warrant therefore. He shall have power to issue execution for all fines, penalties and costs imposed by him or he may require the immediate payment thereof; and in default of such payment, he may commit the party in default to the jail of Putnam County, or other place of imprisonment in said corporation, if there be one, until the fine or penalty and costs shall be paid; but the term of imprisonment in such case shall not exceed thirty days. He shall from time to time, recommend to the Council such measures as he may deem needful for the welfare of the Town. The expenses of maintaining any person committed to the jail of the County by him, except it be to answer an indictment, or be under the provisions of Sections Two Hundred and Twenty-Seven and Two Hundred and Twenty-Eight of Chapter Fifty of the Code of West Virginia, shall be paid by the Town. But the Mayor shall not receive any money belonging to the State, or to individuals, unless he shall give the bond and security required of a justice of the peace by Chapter Fifty of the Code of West Virginia; and all the provisions of said Chapter relating to moneys received by justices shall apply as to like moneys received by said Mayor.