Fixed static problems. Created hashmap based on ports to return
preStartup and Instance values of Index.