add loader and text file parsing