Most of the indexing functions are now complete.
Added php pages and .gitignore.