fixed tide namespace (should probably be renamed to tide_core)