Rearranged overall code structure (index.php -> header.php and footer.php).
Added most forum functions.