A whole bunch of stuff was done ;)
Moving security code into commons package.