Wrote basic structure of Core System