Setting up front-end structure.