much refactoring into common module, and added va and offline-ca project (neither are working at this point)