Update for multi-APY support

Multi-APY support is still a work in progress, new commands must be added.
Updated python modules to allow the use of several APYs instead of just one.
Adapted the python_interface to work with this changes to the modules.