Added makefile for installing emru and some minor changes