initial commit with functionality extracted from PhoneCore Framework