add jdom lib

add lib to parse xml
implemented rankUp() method
implemented method to determine the duration of a gif loop