Added contain method to circuit builder.
Fixed concurrency errors and fixed incorrect test cases.
Added debug flag to enable sysout messages. Defaults to false.
Added model support for importing legacy file format for simulation