Made the program more professional and added framework for XML parsing.