libslc: Startup code (WIP-3)