Init frontend