refact0r
basic upload for frontend
rng
modified for frontend