Add Multi Backend support

This is based on previous work by Sascha and with help from
Balasz and Thomas.
Right, it needs to be adjusted (I only have local hack for this so far)