Move PHP classes to lib/ directory
Move remaining PHP files to lib/ directory
Move indexer scripts to lib/ directory
Rearrange class files and set up autoloader