fix margin map
clean not usefull files
remove old libraries