Add command.java
Add catch json method to Category.java