libslc: Startup code (WIP-1)