Cleanup source and add config files