Template update

Added explicit setup functions, including fullscreen and orientation
options