clean code
clean return codes and Data struture usages
adding avMeta application
remove output messages
remove metadata display and minor clean
clean Metadata API