Adding indexing, as well as a unit implimentation.
More to be added later.