New certificate module

Files for the new certificate module.