Add factory for frontcontroller resource