move state classes into new .state package
Move Application State into its own AppState class
use availableNodes as source of next node to select; update this at load time (sort) and on container completion