resources in a global variable now
not needed as parameters in the future, let them be hardcoded anyway
some "template" cleanup for the html code being generated