Base platform abstraction library