Added CommandManager.java to manage commands