Add libinter as submodule and device managment cleaning