The Palace of Holyroodhouse in Edinburgh is The Queen's official residence in Scotland . It was founded as a monastery in 1128.