add support for templates (beautiful pages) and static directory which is used to serve static content