added bid model and controller