added public with index
added config file