Moved encryption framework to subremote