fixed bugs in the two default models
namespacing
fixed all compiler bugs except passing data into dynm in example