Add ConstructIndex class and refactor package names
ConstructIndex class is done! Test is passed.