Redo ix-system in python to handle encrypted pools + bugfixes