add pruchase controller and model