Extracted Migrator#frontmatter into the Frontmatter class

Simple extract method to class and a little refactoring.