init resource folder