QueueingModel function

Generic S3 method to build a queueing model (or network)