Added composer.lock check in setup; added encryption method for storing keys