Remade memory mapper. Now uses a buffer for RAM/ROM and handler blocks for devices