Added indexes to the schema + automatic index building when creating schema (to be completed)