Add parsing functions for aliases and templates files
Add templates and aliases list
Add actual use of options read from template
Fix output printing and formatting
Merge branch 'templates'

Template support is now implemented.
Closes #2