add gradle application plugins, and update README
add an Exception class. read command line string to calculate data.