refactor SIN to CLIENT_ID
store private key to FS and update tests