java project for generic code developement for QR code use case