Parameters refactoring

David,

Please see my private post/questions about Parameters on https://gitter.im/cogmission

1) Remove storage duplication, all values stored in one place
2) Avoid reflection hacking
3) Add type/range safeguards