added XML helper, added inputevent predicates, renamed cata2 to cata
introduced PFunction type alias, reworked lenses, introduced color package, added simple int geometry