sgCore framework