added SalonRepository with save, getSalon and getSalons
changed the way parameters are handled