Added comments to the less and coffee middleware

Comments are important! There is one todo line.
These comments should be better, proper documentation
would be ideal, but for the time being they serve.