added mock object and modified makefile to run from root directory