Completes happiness retrieval in Java

Has to be inserted into logs later based on some flagging, avg, etc.