add code climate to readme
improve code slightly
Proc handlers