added Makefile
added lists based LABS ops to emas
implemented local optimization