ignore WS .idea directory

re-factor, separate parsing logic

cleanup code