Add Emission.java and test