Implemented basic physical memory access layer

Not yet done, still needs some cleanup