updated javadocs. Also searched messages are now sorted by date