Update makefile and add gitkeep for tmp
Extract eshell config
Sundry lib cleanups