implemented input class; made demo
implemented input class; made demo