All magistrates, aldermen, and justices of the peace throughout this Commonwealth shall have jurisdiction to hear and determine actions arising from violations of the provisions of this act, and shall have authority to hold for court, or to impose the penalties hereby prescribed, subject to appeal, as the law shall direct.
3 P.S. § 73