adding xml upload
fix upload form, rewrite models