fixed typo + missing index
removed restriction to allow more general use :-(
added setup method to platform interface
added conditional adding of lists/tuple imports