adding the pics controller and migration