Adding packages, seting up layout.