Externalising the commands for titlepage; putting footline usage to the file where it belongs.