Changed file loading into tracker

Changed some things to pointer too, as well as constructors