Created abstract input class