better component intergration for client side code. added additional upload functionality