Improve interface and factor out code

The `Trakeva_interface.Action` module will be used in any backend.
Add `to_string` functions to common modules
Reorganize test around first-class modules
Implement `Sqlite3` backend (with tests)