added create metadata method
fix resource size
added method to get resource token info
get thumbnail functionality