Fix license, add cms dependancy