add initial layout and resources