Refactor Low Level Utilities

This PR abstracts all low level utils from note-vdom, tests these utils and includes refactored methods.

### QA
None really, everything should work as normal.
Indentation and can you put the comment before the filter.