removed all unneded man files
adding missing imoprt of toJSON for jsonlite
added missing param defs