Add parameters to controller creation in tool lib