Working on mainmemory methods.
Added functionallity to memblock