remove type from config file and add public directory