Adding controller and dao