Moving the index file to mainly a php script for all meshlocals.