Enabled -Xlint compiler flag; organized packages
Treating input as line-oriented to avoid explicitly dealing with newlines
Treating output as line-oriented to avoid explicitly dealing with newlines
Leading and trailing whitespace is trimmed before command parsing