Refactor Code. Everything Works

Refactored Entire Code.
Static & Live works fine. Common Generate Function which is called by Static Page Generation for each file.
Clean URL support tested.
Multilanguage Tested and working fine.
Header Redirect (which was unnecessary since we could just change file to generate) has been removed.

Possible Scope For building a Better Templating System.