Code reviewed; Changed ermlib.h to erm.h