Split the code and splitscreen
Added orientation changes
Added support for orientation changes and locking:
 - can force a landscape view (lock)
 - update the viewports based on changing orientations