Refactor. Frontend was changed to servlet. PageGenerated was created.