added master secret service and the beginnings of keystore service along with the prompting and persistence of the master secret on startup