Added a basic index and test for getting things running. A copy of what Sam did.