worked on loader a bit
made a helper function for stupid java xml parser, maybe I'll write a library that makes this usable