Added emulation boiletplate and basic instruction on functions