Functionalize common part.
Remove wpautop filter.
Print counter function.
Merge pull request #16 from treby/feature/refactor_common_part

Changes some logics.