Revert "closed #12: add escape logic class"

This reverts commit 54b34848078c368fdf1a3c015cfc3862d13571eb.