Table Creation with indexing