Added skeleton code for memory structure and access functions