Added class handling and highlight functions to Edge. Moved id function to objcommons