feature: repare component to encapsulate platform specific stuff.