refactor qrcode api
include qrcode api
added spec for qrcode api