Removed unused code
Fixed param parsing
Added static/dynamic strength, correctly handle dip