Added and implemented InputClass