XML to Directory

Script is finished but needs cleanup, bit of a mess but works well
nonetheless.
Also submitting new UI code, needs integration between all scripts now.