added pkg comment
Start handling common flags
More flag stuff