Flex Software Developer Kit for the Loyalty System