Cleaning up of codes

Line 47 - Moved enum COMMAND_TYPE up to ensure that it follows the Java
layout standard.

Line 206 - Repositioning of '{' to ensure consistency in the coding
style.