- made CA class a singleton class
- created certificate writers class to facilitate export to file