clean codes, split filter methods to utils.py , create image