add delete plot controller part + tests