Platform + Library updates

Platform traits updated.
Library split into blocks and implementation for specific frameworks.