Implement a more configurable modeline

Closes #40
Once we define more format specifiers this construct makes a bit more sense.