Stripped out unused files and config.
Updated index.php and added comments.