Topic model and tests

- Topic class.
- Topic tests.
Refactor code and tests

- Chaining constructor.
- Test: move object to instance variable.