Add memo_controller and Fix init test