I have a small point to point layout. The layout is about 10 feet long and 10" wide. There are a total of two main line tracks, and 4 dead end tracks (2 at each end. At the end of each track (8) there are bumpers. There are also two bypass sidings. There are sensors at the end of each line, and surrounding each switch. I would like to have a small train run various routes over the layout with switches being automatically thrown if a train is approaching a switch that needs to be thrown, and switches set based upon the route selected . Can JMRI do this? Where can I find information on how to set this up?