add dev mode + fixing front template engine