Created base code for loading and pause screens