Introduced template directory for template and resource files and resource compiler & manager