Merge pull request #2 from leklund/master

Alias format, multiple format support, and better options handling.
refactored case stmt into a reusable method, and alias now supports a
command to alias