simplified the asset compiler with a cleanup method for generated assets