Moved assets to controller because it has direct dependency on the theme