Deserialize directly from memory strem
Remove unused debug hook
Add initial TrailFactory unit tests
Implement more data persistence