support for manifest v2
remove deprecated messaging api and fix lcs/utn bugs.