main function done

Signed-off-by: Arif <arif@bansberrysg.com>
added progressbar functionality

Signed-off-by: Arif <arif@bansberrysg.com>