implemented annotation based config builder