Updated the loader

Now using database to load xml and jar files