[server] templates and static files moved to specific directories where they belong