Add a class POJ to handle submit and fetch status actions