add bae app with yaf & smarty