Adding base input class

Change-Id: I4ac42d19389f03dc91b970d490993fa1de31097b