Moved the code from testing repositories to the repository.

Added TODO.
Added __pycache__ to .gitignore.