Refactor screen_t to use a pointer to memory instead of a chunk of memory