model code clean up
added picol for config and scripting capabilities