create and initialize indexes on startup