refactor AdsController and routes #17