added license
added function checkParam to ConnectionManager