added buttons to device
added init section for page
added Page and Model templates