Majorly revised the template into include files
Removed baseurl setting