dev framework frontcontroller function prepare