magic language engine and basic APIs working