[fix] fixed the name of the assert include
[misc] removed unneded macros
[misc] cleaned the unused warning
[feat] added layer connector prototype
[fix] added missing header file