drop $configs's type casting on constructor
fix missing array pairing on replacePropPhs()
revert "model/" folder name for common usage