added et_main_loop, adjusted makefile