Renamed packages to lower case. Small refactoring.
Small refactoring. Also added overflow check and no arguments launch from cmd check.