Control panel template and restructure public dir tree