Moved configuration and index.php from nii-core into template