Do not use one leter variables and add docu for function.
Use same coding style. Fix print syntax. Expand variable names to more obvious ones.
Enable build of staging only when there is some ring package. Add functions docu and fix some prints.