remove unused stuff and fine tune configuration files