Major changes

Added layout and other stuff. Also modified functions.php