Changed project structure and added pages’ functionality