Added a data directory to save xml
Added fetching of states
Added data directory parsing from config file