Structuring systems-based code