start of params code
added type convertors
organisational changes
changes