Added commands a cleaned the code

Added a set of command you can read on top of the lua file
Cleaned the code and made generic functions (to get client's Cvar for example)
Added function to format output, can format in table a list of string