added some documentation
rework of Param + documentation
added documentation + corrected compile test