build XML functions, refactored some

need to fix data persisting after submit, add edit and delete, put in
clear LS button, and week 2 functionality