Update DataManagement.java

Now works using the Command design pattern.