change contorller to a abstract class and add action.php
complete analyizing tag and adding tag