drop legacy code and add release makefile