Finish implementing CommandBuilder

I finished implementing the CommandBuilder class. I am concerned with
some of the performance issues I am seeing. I am going to look into
improving the performance of the parser a little bit.