Started work on python implementation of logb core system.

- Module class
- Entity class
- Statement class
- Pattern class with substitution function