Refactored feed processing into its own method.
Refactored post template loading into its own method.
Removed a couple unnecessary comments.
Added error handling to the post writing method.
Refactored source directory verification into its own method.