Added Framework for Upload Logic