Deleted duplicate main class
Fixed the check for number of params