ble able to specify which is the main file
use index file from config, package or search for it