Its actually not that complicated to do. I recently built a php modular system with JS front end to load all content in a unique way. It can also load JS files for specific "plug-ins" if need be. I just never got around to add features to it. So for now, its login/register/select avatar... All 3 of those are actually plug-ins.