fix code climate issues and clean up a little bit
fix code climate issues and clean up a little bit

OperationCode/operationcode_backend,OperationCode/operationcode_backend,OperationCode/operationcode_backend