Changing the design of a page

Is there any guidance on changing the layout of a page? For instance, how can sidebars be created? I can see they are available in the demo projects - but how do I add them into my own project?