Moved some general things into a BaseLoader class.
Organized FileLoader into more-readable method order.