First steps to make init and encrypt to work