Add makefile, dynamically allocate memory, add status update