Remove main and config