added DRAFT opencore interface code (now it builds)