memory tracker done, still some leaks but it's there