Added --help option
Cleaned up the code a bit