Add core logic and basic functionality.