Add clearing dynamo table to the controller and Java client