added the controller and marker visuallization (merged with exercise3)