Memory intarfaces

Add memory controll, top and top tb