My advice is to move every string in constants.h to this file, and if there's code that still makes use of it then, if it's just that one file, move the constant to it's cc file, or make a new function in commands.

Next, I think you should get rid of all the string constants that aren't used more than once. The rest you can move to the top of the cc file here in an anonymous namespace (see nova/Log.cc for an example).

Finally, CRLF and DSIGN shouldn't be constants but macros as it will make it easier to concatenate the strings. For example, if CRLF is a macro you could change:

```c++
str(boost::format("*3\r\n$6%s"
                  "CLIENT%s"
                  "$7%s"
                  "SETNAME%s"
                  "$%d%s"
                  "%s%s") % CRLF % CRLF % CRLF % CRLF % client_name.length() % CRLF % client_name % CRLF)
```


to


```
c++
str(boost::format("*3\r\n$6" CRLF
                  "CLIENT" CRLF
                  "$7" CRLF
                  "SETNAME" CRLF
                  "$%d" CRLF
                  "%s" CRLF) % client_name.length() % client_name)
```