Some code snippets for using contao cms