libslc: Startup code (WIP-2)