Added validation to the application base name and package name.