Created index and migration files