Remove documentation and refactor signal/slots