Move encryption file to lib directory