stubbed files and added old code
refactored index with new conventions
refactored code passing tests with deps