Refactor Again

1. Added  Clean URL support.
2. Removed SessionScoped
3. Removed unused utility.
4. Changed template.
Revert "Refactor Again"

This reverts commit 6eac06349b5ad39942d80792df67020e7e225578.
Refactor Again

1. Added  Clean URL support.
2. Removed SessionScoped
3. Removed unused utility.
4. Changed template.