Removed htdocs and improved template and engine