updated to psr4 and gets the theme function working again without the
template file.