Improve functions
- Add .clean() function
- Rewrite other functions