V1 to V2 migration

- migration to Samotraces v2
- refactoring and cleaning up
- files hierarchy