Basic functioning of the app - getting the input through constructor, user validations & appropriate test cases are added