- Complete refactor of code

- Reworked code into a class, makes it easier to work with and doesn't clutter up the namespace with functions all over the place.

- Less calls to str_replace() in parseSize()

- Removed redundant support for arrays in sanitizeHTML()

- Added documentation for each function