Fix help message
Replace simple case-switch's with 'if' statement
Format source code using Allman style
Add license file