Shelton police get 3-year contract, retroactive to 3 years ago