Each city of the first or second class and incorporated town may provide by ordinance for the implementation of, but not contrary to, this subchapter.