Setup for multiple screens

Created helper functions in order to support multiple screens.