Started the work on coding for db indexes