Never mind as I've decided to run with JMRI Dispatcher scripts - lots of documentation is available.
I found the sketch with SAMPLE OVAL LAYOUT very informative as it explains very well the layout functions and syntax. As I'm planning to build my...