add rest controller
rest merge