Added Memory functions and Paging