index: remove spaces
functions: make functions.php
index: replace resources path with template tags
index: divide to header, sidebar and footer