Migration of the security framework and a whole bunch of dependent classes
Fix annotation processing