Moved twitter api class to it's own submodule

- The clean function now exists in the base of the api submodule
- Added tests for the clean method.