Function Wizard: first working implementation of this functionality

Still A LOT can be added, as this is a very up-to-fantasy feature