added usage to inputParser and a main function in it for testing