Removed closing tag form all PHP files.
Added rewrite for homepage.