Logical components separation

- Separated logging functionality from data assembly.