refactor the code in Controller.java and add a check for valid date input
Merge pull request #28 from HaoranHuang/develop

refactor the code in Controller.java and add a check for valid date inpu...