fix frontend

fix parameter mapping
fix handling root makefiles (instead of directories)
fix memory allocation