Fix calc tsw
Fix file open
Create Anomaly class
Sync