Refactored a bit and added the pre-alpha version of fetching messages from muksunkirja.