fix bugs in factories
add keySignatures and Compass classes