add -ldl to library files
adjust gitignore
add recursive makefile structure for modules
use make -C instead of cd