Moved loader and utilities to separate files, in separate folder 'util'