I found the blankcomponent for Joomla, although it worked, to have some restrictions where the URL was not SEF compatible with either Joomla or SH404sef. So I took influence from that component and how other components work to handle SEF to create EMPage. I hope this helps!