Added export symbols
Makefile fix
Module support + makefiles + fixes