Add basic index support.

Basic indexes can now be added. Foreign keys are not complete yet.