added method so modules can set the document title, cleaner method to add assets (css/js) to modules