template editing added. started work on image uploads