refactor
merge var and rx
uid generation template
fix Makefile