added InputClass.cpp