Cross-platform core library