Improve documentation and organization in common.clj
Imroved documentation and code more