Added basic mkindex class